Skip to content

Call eglReleaseTexImage in ANGLE Device::destroy_surface_texture#368

Merged
jdm merged 1 commit into
servo:mainfrom
mrobinson:call-egl-release-tex-image
Jun 7, 2026
Merged

Call eglReleaseTexImage in ANGLE Device::destroy_surface_texture#368
jdm merged 1 commit into
servo:mainfrom
mrobinson:call-egl-release-tex-image

Conversation

@mrobinson

Copy link
Copy Markdown
Member

As we called eglBindTexImage when creating the surface texture, we
should call eglReleaseTexImage in the same way when releasing it.

Fixes: #189.

As we called `eglBindTexImage` when creating the surface texture, we
should call `eglReleaseTexImage` in the same way when releasing it.

Signed-off-by: Martin Robinson <martin@abandonedwig.info>
@jdm jdm added this pull request to the merge queue Jun 7, 2026
Merged via the queue into servo:main with commit 73f8bcb Jun 7, 2026
29 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ANGLE backend's SurfaceTexture should unbind the texture image in its destructor

2 participants